package com.lovo.bean;

import java.time.LocalDate;

/**
 * 员工实体类
 */
public class EmpBean {
    private int id;
    private String name;
    private String gender;
    private String education;
    private LocalDate born;
    private String phone;
    private String face;
    private DeptBean deptObj;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public LocalDate getBorn() {
        return born;
    }

    public void setBorn(LocalDate born) {
        this.born = born;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public DeptBean getDeptObj() {
        return deptObj;
    }

    public void setDeptObj(DeptBean deptObj) {
        this.deptObj = deptObj;
    }

    @Override
    public String toString() {
        return "EmpBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", education='" + education + '\'' +
                ", born=" + born +
                ", phone='" + phone + '\'' +
                ", face='" + face + '\'' +
                ", deptObj=" + deptObj +
                '}';
    }
}
